From: Richard M. Stallman Date: Thu, 27 May 1993 06:18:44 +0000 (+0000) Subject: (read_char): Correct previous change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95886 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4eb4f926b2cd627bc20f94923755707685c9de71;p=emacs.git (read_char): Correct previous change. --- diff --git a/src/keyboard.c b/src/keyboard.c index a9bb02bb896..f1b577ed70f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1485,7 +1485,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) } /* Actually read a character, waiting if necessary. */ - while (1) + while (NILP (c)) { c = kbd_buffer_get_event (); if (!NILP (c))